package com.partner.boot.service;

import com.partner.boot.common.Result;
import com.partner.boot.controller.domain.UserRequest;
import com.partner.boot.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author 刘孟坤
 * @since 2023-07-30
 */
public interface IUserService extends IService<User> {

    User login(UserRequest user);

    User register(UserRequest user);

    void sendEmail(String html,String type);

    String resetPassword(UserRequest userRequest);

    User goodFirstLogin(String username);

}
